-
Notifications
You must be signed in to change notification settings - Fork 242
Laravel Slimmer #8669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Laravel Slimmer #8669
Conversation
Laravel 8 adopts the tuple syntax for controller actions. Since the old options array is incompatible with this syntax, Shift converted them to use modern, fluent methods.
|
ℹ️ To slim down the Laravel installation, Laravel 11 no longer has most of the core files previously included in the default Laravel application. While you are welcome to publish and customize these files, they are no longer required. Shift takes an iterative approach to removing core files which are not customized or where its customizations may be done elsewhere in a modern Laravel 11 application. As such, you may see some commits removing files and others re-registering your customizations. |
|
|
|
ℹ️ Laravel 11 no longer requires you to maintain the default configuration files. Your configuration now merges with framework defaults. Shift streamlined your configuration files by removing options that matched the Laravel defaults and preserving your true customizations. These are values which are not changeable through If you wish to keep the full set of configuration files, Shift recommends running |
|
ℹ️ Shift detected customized options within your configuration files which may be set with an APP_ENV=local
APP_KEY=base64:x80I9vQNxwllSuwBkTwfUa5qkgPTRdwqHCPSz7zHi1U=
APP_NAME=ProcessMaker
AUTH_MODEL=ProcessMaker\Models\User
BCRYPT_ROUNDS=10
CACHE_STORE=redis
DB_CONNECTION=processmaker
LOG_STACK=daily
MAIL_FROM_ADDRESS=admin@example.com
MAIL_FROM_NAME=ProcessMaker
MAIL_MAILER=smtp
PUSHER_APP_ID=app-id
PUSHER_APP_KEY=app-key
PUSHER_APP_SECRET=app-secret
QUEUE_CONNECTION=redis
REDIS_CACHE_CONNECTION=default
REDIS_QUEUE_RETRY_AFTER=86400
SESSION_DRIVER=file
SESSION_EXPIRE_ON_CLOSE=true
SESSION_SECURE_COOKIE=falseNote: some of these may simply be values which changed between Laravel versions. You may ignore any |
|
ℹ️ Shift detected your application uses custom
|
|
Shift automated this change for your committed files, but you should review any additional locations where your environment is configured and update to the new variable names. |
|
❌ The |
|
ℹ️ Laravel 11 now updates the timestamp when publishing vendor migrations. This may cause problems in existing applications when these migrations were previously published and ran with their default timestamp. To preserve the original behavior, Shift disabled this feature in your |
|
|
|





This pull request contains changes for slimming your Laravel application by removing core files which are no longer included in a new Laravel application.
Before merging, you need to:
shift-164321branchIf you need help modernizing your Laravel application, check out the Human Shifts.